﻿<%@ Page Language="vb" AutoEventWireup="false" Codebehind="BizParamSetting_Import_Special.aspx.vb" Inherits="PubProject.BizParamSetting_Import_Special"%>

<%@ Register TagPrefix="mnu" Namespace="Mysoft.Map.Application.Menus" Assembly="Mysoft.Map.Application.Components" %>
<%@ Register TagPrefix="cnt" Namespace="Mysoft.Map.Application.Controls" Assembly="Mysoft.Map.Application.Components" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
	<HEAD>
		<title></title>
		<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
		<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
		<meta content="JavaScript" name="vs_defaultClientScript">
		<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
		<!-- Global -->
		<link rel="stylesheet" type="text/css" href="/_common/styles/global.css">
		<script language="javascript" src="/_common/scripts/global.js"></script>
		<!-- Find -->
		<link rel="stylesheet" type="text/css" href="/_controls/find/find.css">
		<script language="javascript" src="/_controls/find/find.js"></script>
		<!-- Form -->
		<link rel="stylesheet" type="text/css" href="/_forms/styles/form.css">
		<!-- Datetime & Number -->
		<script language="javascript" src="/_controls/settings.aspx"></script>
		<script language="javascript" src="/_controls/datetime/date.js"></script>
		<script language="javascript" src="/_controls/datetime/time.js"></script>
		<script language="javascript" src="/_controls/number/number.js"></script>
		<!-- DropDownTree -->
		<link rel="stylesheet" type="text/css" href="/_controls/tree/dropdowntree.css">
		<!-- Utility-->
		<script language="javascript" src="/_controls/util/util.js"></script>
		<!-- Menu -->
		<link rel="stylesheet" type="text/css" href="/_nav/menu.css">
		<!-- Grid -->
		<link rel="stylesheet" type="text/css" href="/_grid/map_grid.css">
		<!-- GridTree -->
		<link rel="stylesheet" type="text/css" href="/_controls/tree/gridtree.css">
				<script type="text/javascript">
				//打开流程模板界面
		function openProcessModiWin(ProcessGUID,DocumentType)
		{
			if (ProcessGUID==undefined || ProcessGUID=='') return;
			
			var sPath ;
			var sMode ;
			var strFile="/Security/Security_XmlHTTP.aspx";
			
			/*
			if(__buGUIDs.indexOf(arrTr[0].BUGUID)>=0)
			{
				sPath = "WF_ProcessDefined_Form.aspx?mode=2&oid=" + escape(ProcessGUID);
			}
			else
			{
				sPath = "WF_ProcessDefined_Form.aspx?mode=3&oid=" + escape(ProcessGUID);
			}*/
			sPath = "/MyWorkflow/WF_ProcessDefined_Form.aspx?mode=2&oid=" + escape(ProcessGUID);
			
			//表单类型
			switch(parseInt(DocumentType))
			{
				case 0:
					//业务表单
					sPath += "&xml=" + escape("/MyWorkflow/WF_ProcessDefined_Form.xml")
					break;		
					
				case 1:
					//普通文档
					sPath += "&xml=" + escape("/MyWorkflow/WF_ProcessDefined_Form_Doc.xml")
					break;
					
				case 2:
					//扩展表单
					sPath += "&xml=" + escape("/MyWorkflow/WF_ProcessDefined_Form_Extend.xml")
					break;
			}
			
			openMyFullWin(sPath);
			
		}
		</script>
	</HEAD>
	<body >
		<table  border="0" cellSpacing="0" cellPadding="0"  style="height:100%; width:100%">
			<tr height="1">
				<td>
					<mnu:AppGridMenu id="appGridMenu" runat="server" />
				</td>
			</tr>
			<tr>
				<td style="background-color:#ffffff; vertical-align:top">
					<cnt:AppGrid id="appGrid" runat="server" MultiSelect="False" />
					<cnt:appgridtree id="appGridTree" runat="server" Visible="false"></cnt:appgridtree>
				</td>
			</tr>
		</table>
	</body>
</HTML>
